import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import {
    ModalModule,
    TabsModule,
    TooltipModule,
    BsDropdownModule
} from 'ngx-bootstrap';
import { AppCommonModule } from '@app/shared/common/app-common.module';
import { UtilsModule } from '@shared/utils/utils.module';
import { PlanRoutingModule } from './plan-routing.module';
import { CountoModule } from '@node_modules/angular2-counto';
//import { EasyPieChartModule } from 'ng2modules-easypiechart';
import { MaintaskComponent } from './maintasks/maintask.component';
import { DataTableModule, TabMenuModule } from 'primeng/primeng';
import { PaginatorModule } from 'primeng/primeng';
import { TreeTableModule, TreeNode } from 'primeng/primeng';
import {
    InputTextModule,
    CalendarModule,
    InputSwitchModule,
    MultiSelectModule,
    DropdownModule
} from 'primeng/primeng';
import { TableModule } from 'primeng/components/table/table';
import { CreateOrEditOrderMainTaskComponent } from '@app/plan/maintasks/create-or-edit-order-modal.component';
import { PutIntoProductionModalComponent } from '@app/plan/maintasks/put-into-production-modal.component';
import { SidetaskComponent } from './sidetasks/sidetask.component';
import { DeliveryTasksComponent } from './batch-tasks/delivery-tasks.component';

@NgModule({
    imports: [
        CommonModule,
        FormsModule,
        ModalModule,
        TabsModule,
        TooltipModule,
        AppCommonModule,
        UtilsModule,
        PlanRoutingModule,
        CountoModule,
        //EasyPieChartModule,
        DataTableModule,
        TableModule,
        MultiSelectModule,
        PaginatorModule,
        TreeTableModule,
        CalendarModule,
        InputTextModule,
        InputSwitchModule,
        DropdownModule,
        BsDropdownModule.forRoot(),
        TabMenuModule
    ],
    declarations: [
        MaintaskComponent,
        CreateOrEditOrderMainTaskComponent,
        PutIntoProductionModalComponent,
        SidetaskComponent,
        DeliveryTasksComponent
    ]
})
export class PlanModule {}
